package chapter3;
import java.util.Scanner;
/****************************************************************
 * Author：icynlau
 * Description: 挑一张牌
 * Date:2021/4/1 
 * ***************************************************************
 */
public class exc3_24 {
	public static void main(String[] args) {
		Scanner input=new Scanner(System.in);
		String[]  size= {"Ace","2","3","4","5","6","7","8","9","10","Jack","Queen","King"};
		String[] color= {"Clubs","Diamonds","Hearts","Spades"};
		
		int nSize=(int)(Math.random()*13);
		int nColor=(int )(Math.random()*4);
		
		System.out.println("The card you picked is "+size[nSize]+" of "+color[nColor]+" .");
		
	}
}
